import 'package:flutter/material.dart';

class MyLoading extends StatelessWidget {
  final double size;
  final int type;
  const MyLoading({super.key, this.type = 1, this.size = 50});

  @override
  Widget build(BuildContext context) {
      return Center(
        child: Image.asset(
          'lib/assets/images/l$type.gif',
          width: size,
        ),
      );
  }
}
